package com.patrol.logisticsmanage.ui.todo;

import org.jaaksi.pickerview.dataset.OptionDataSet;

import java.util.List;

/**
 * 配件
 */
public class ArmatureInfo implements OptionDataSet {

    public String name;
    public String code;
    public String shul;
    public String remarks;


    public ArmatureInfo setName(String name) {
        this.name = name;
        return this;
    }

    public ArmatureInfo setCode(String code) {
        this.code = code;
        return this;
    }

    public ArmatureInfo setShul(String shul) {
        this.shul = shul;
        return this;
    }

    public ArmatureInfo setRemarks(String remarks) {
        this.remarks = remarks;
        return this;
    }


    public String getName() {
        return name;
    }


    public String getCode() {
        return code;
    }


    public String getShul() {
        return shul;
    }


    public String getRemarks() {
        return remarks;
    }


    @Override
    public List<? extends OptionDataSet> getSubs() {
        return null;
    }

    @Override
    public CharSequence getCharSequence() {
        return name;
    }

    @Override
    public String getValue() {
        return name;
    }
}
